package com.jeequan.jeepay.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeequan.jeepay.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

 /**
 * 全局配置表;
 * @author : wondream322@gmail.com
 * @date : 2023-8-19
 */
@ApiModel(value = "全局配置表",description = "")
@TableName("pay_global_conf")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PayGlobalConf extends BaseModel implements Serializable,Cloneable{
    
     //gw
     public static final LambdaQueryWrapper<PayMemberDO> gw(){
         return new LambdaQueryWrapper<>();
     }
     
    /** 主键 */
    @ApiModelProperty(value = "主键",name = "主键",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id ;
    /** 关系类型：0-通用 1-页面 2-api */
    @ApiModelProperty(value = "关系类型：0-通用 1-页面 2-api",name = "关系类型：0-通用 1-页面 2-api",notes = "")
    private Integer confType ;
    /** 配置编码 */
    @ApiModelProperty(value = "配置编码",name = "配置编码",notes = "")
    private String confCode ;
    /** 页面名称 */
    @ApiModelProperty(value = "页面名称",name = "页面名称",notes = "")
    private String confName ;
    /** 配置key */
    @ApiModelProperty(value = "配置key",name = "配置key",notes = "")
    private String itemKey ;
    /** 配置名称 */
    @ApiModelProperty(value = "配置名称",name = "配置名称",notes = "")
    private String itemName ;
    /** 配置内容 */
    @ApiModelProperty(value = "配置内容",name = "配置内容",notes = "")
    private String itemValue ;
    /** 描述 */
    @ApiModelProperty(value = "描述",name = "描述",notes = "")
    private String itemDesc ;
    /** 状态：0-失效 1-有效 */
    @ApiModelProperty(value = "状态：0-失效 1-有效",name = "状态：0-失效 1-有效",notes = "")
    private Integer state ;
    /** 创建人 */
    @ApiModelProperty(value = "创建人",name = "创建人",notes = "")
    private String createdBy ;
    /** 更新人 */
    @ApiModelProperty(value = "更新人",name = "更新人",notes = "")
    private String updatedBy ;
    /** 创建时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "创建时间",name = "创建时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "更新时间",name = "更新时间",notes = "")
    private Date updateTime ;

}